package com.zll.ccp.annotation;

import com.zll.ccp.model.pojo.ResourceType;

import java.lang.annotation.*;

/**
 * 权限设置-该操作只有该资源拥有者有权限
 *
 * @author zll
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface RequireOwn {
    //资源类型
    ResourceType resourceType();

    //参数名称
    String paramName();
}
